package com.lannuokeji.biz.items.request;
/**
 * 设备申请
 * @author 览诺科技
 *
 */

import java.util.Date;
import java.util.List;

import com.lannuokeji.biz.items.entity.DeviceApplyFacility;

/**
 * 提交申请
 * @author 览诺科技
 *
 */
public class DeviceApplyRequest {
	
	private int id;
	/**
     * 开始时间
     */
    private Date startTime;
    /**
     * 结束时间
     */
    private Date endTime;
    /**
     * 申请原因
     */
    private String purpose;
    /**
     * 关联设备
     */
	List<ApplyFacilityRequest> devices;

	public List<ApplyFacilityRequest> getDevices() {
		return devices;
	}

	public void setDevices(List<ApplyFacilityRequest> devices) {
		this.devices = devices;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public String getPurpose() {
		return purpose;
	}

	public void setPurpose(String purpose) {
		this.purpose = purpose;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}
	
}

class ApplyFacilityRequest {
	/**
	 * 设备id
	 */
	int deviceId;
	/**
	 * 数量
	 */
	int count;
	public int getDeviceId() {
		return deviceId;
	}
	public void setDeviceId(int deviceId) {
		this.deviceId = deviceId;
	}
	public int getCount() {
		return count;
	}
	public void setCount(int count) {
		this.count = count;
	}
}